//格式化价格显示
export const formatPrice = (price: number | undefined | null) => {
    if (price === undefined || price === null || isNaN(price)) {
        return '0'
    }
    return price.toLocaleString('en-US')
}
